package com.ruoyi.common.exception;

/**
 * @Auther: ZHANG PU
 * @Date: 2023/8/8 16:26
 * @Description:
 */
public class TokenGetUserException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    /**
     * 错误提示
     */
    private String message;

    /**
     * 空构造方法，避免反序列化问题
     */
    public TokenGetUserException()
    {
    }

    public TokenGetUserException(String message)
    {
        this.message = message;
    }

    @Override
    public String getMessage()
    {
        return message;
    }

    public TokenGetUserException setMessage(String message)
    {
        this.message = message;
        return this;
    }
}
